package BTree;


/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 故我
 * Date: 2024-02-03
 * Time: 20:10
 */
public class TestMain {
    public static void main(String[] args) {
        BinaryTree tree = new BinaryTree();
        BinaryTree.TreeNode root = tree.createTree();
        //System.out.println(tree.getLeafSize(root));

        //System.out.println(tree.getKLevelNodeCount(root, 3));

        //System.out.println(tree.getTreeHight(root));

        System.out.println(tree.isHasTreeKey(root, 10));
    }

}
